execute store result storage minecraft:rmr arguments.level int 1 run scoreboard players get @s rmr.enchantment.no_fall.slow_falling_level
scoreboard objectives add rmr.local.lasting dummy
scoreboard objectives add rmr.local.tick_per_second dummy
scoreboard players set @s rmr.local.tick_per_second 20
execute store result score @s rmr.local.lasting run scoreboard players get @s rmr.local.lasting
execute if score @s rmr.local.lasting matches 0.. run scoreboard players operation @s rmr.local.lasting /= @s rmr.local.tick_per_second
execute store result storage minecraft:rmr arguments.lasting int 1 run scoreboard players get @s rmr.local.lasting
function rmr:enchantment/no_fall/_restore_effect with storage minecraft:rmr arguments
scoreboard players set @s rmr.enchantment.no_fall.slow_falling_poped 0